<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>06_列表渲染</title>
    <script src="../node_modules/vue/dist/vue.js"></script>
</head>
<body>
    <div id=app>
        <ul>
            <li v-for="(item, index) in items" >{{index}}-{{item}}</li>
        </ul>

    </div>


    <script>
        const vm = new Vue({
            el:'#app',
            data:{
                items:['test1', 'test2', 'test3']
            }
        });
    </script>
</body>
</html>